pickShapesInRegion

fun pickShapesInRegion(x: Double, y: Double, width: Double = 0.0, height: Double = 0.0, pickCenter: Boolean = true): PickedObjectList

Requests the WorldWind objects displayed within a specified screen-coordinate region. This returns all objects that intersect the specified region, regardless of whether an object is actually visible, and marks objects that are visible as on top.

Parameters

x

the X coordinate relative to this WorldWindow's canvas.

y

the Y coordinate relative to this WorldWindow's canvas.

width

the width in canvas pixels

height

the height in canvas pixels

pickCenter

picks top shape and terrain in rectangle center as priority